Mixed reality system with virtual content warping and method of generating virtual content using same

ABSTRACT

A computer implemented method for warping virtual content includes generating warped virtual content by transforming source virtual content. The method also includes determining whether a memory location corresponding to an X, Y location of the warped virtual content in an output frame of reference is occupied by pre-existing virtual content. The method further includes storing the warped virtual content in the memory location if the memory location is not occupied. Moreover, the method includes comparing respective Z locations of the warped virtual content and the pre-existing virtual content to identify virtual content with a Z location closer to a viewing location if the memory location is occupied. The method also includes storing the warped virtual content in the memory location corresponding to the X, Y location if a Z location of warped virtual content is closer to the viewing location than a pre-existing Z location of pre-existing virtual content.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of pending U.S. patent application Ser. No. 15/924,011, entitled “MIXED REALITY SYSTEM WITH VIRTUAL CONTENT WARPING AND METHOD OF GENERATING VIRTUAL CONTENT USING SAME,” filed Mar. 16, 2018, under attorney docket number ML-0479US, which claims the benefit of priority to U.S. Provisional Application Ser. No. 62/472,985, filed on Mar. 17, 2017, which is hereby incorporated by reference in its entirety. This application includes subject matter similar to the subject matter described in U.S. Provisional Application Ser. No. 62/473,131, filed on Mar. 17, 2017, which is hereby incorporated by reference in its entirety.

FIELD OF THE INVENTION

The present disclosure relates to mixed reality systems with virtual content warping, and methods for generating a mixed reality experience including warped virtual content using same.

BACKGROUND

Modern computing and display technologies have facilitated the development of “mixed reality” (MR) systems for so called “virtual reality” (VR) or “augmented reality” (AR) experiences, wherein digitally reproduced images, or portions thereof, are presented to a user in a manner wherein they seem to be, or may be perceived as, real. A VR scenario typically involves presentation of digital or virtual image information without transparency to actual real-world visual input. An AR scenario typically involves presentation of digital or virtual image information as an augmentation to visualization of the real-world around the user (i.e., transparency to real-world visual input). Accordingly, AR scenarios involve presentation of digital or virtual image information with transparency to the real-world visual input.

Various optical systems generate images at various depths for displaying MR (VR and AR) scenarios. Some such optical systems are described in U.S. Utility patent application Ser. No. 14/555,585 filed on Nov. 27, 2014 (attorney docket number ML.20011.00), the contents of which are hereby expressly and fully incorporated by reference in their entirety, as though set forth in full.

MR systems typically employ wearable display devices (e.g., head-worn displays, helmet-mounted displays, or smart glasses) that are at least loosely coupled to a user's head, and thus move when the user's head moves. If the user's head motions are detected by the display device, the data being displayed can be updated to take the change in head pose (i.e., the orientation and/or location of user's head) into account.

As an example, if a user wearing a head-worn display device views a virtual representation of a virtual object on the display device and walks around an area where the virtual object appears, the virtual object can be rendered for each viewpoint, giving the user the perception that they are walking around an object that occupies real space. If the head-worn display device is used to present multiple virtual objects, measurements of head pose can be used to render the scene to match the user's dynamically changing head pose and provide an increased sense of immersion. However, there is an inevitable lag between rendering a scene and displaying/projecting the rendered scene.

Head-worn display devices that enable AR provide concurrent viewing of both real and virtual objects. With an “optical see-through” display, a user can see through transparent (or semi-transparent) elements in a display system to view directly the light from real objects in an environment. The transparent element, often referred to as a “combiner,” superimposes light from the display over the user's view of the real world, where light from the display projects an image of virtual content over the see-through view of the real objects in the environment. A camera may be mounted onto the head-worn display device to capture images or videos of the scene being viewed by the user.

Current optical systems, such as those in MR systems, optically render virtual content. Content is “virtual” in that it does not correspond to real physical objects located in respective positions in space. Instead, virtual content only exist in the brain (e.g., the optical centers) of a user of the head-worn display device when stimulated by light beams directed to the eyes of user.

MR systems attempt to present photo-realistic, immersive MR scenarios. However, lag time between generation of virtual content and display of the generated virtual content combined with head movement during the lag time can result in visual artifacts (e.g., glitches) in MR scenarios. This problem is exacerbated by rapid head movement during the lag time.

In order to address this issue, some optical systems may include a warping software/system that receives source virtual content from a source. The warping system then “warps” (i.e., transforms the frame of reference of) the received source virtual content for display in a frame of reference of the display system/viewer (the “display frame of reference”). Warping or transforming change the frame of reference from which virtual content is presented. This approach takes the originally rendered virtual content, and shifts the way that the virtual content is presented to attempt to display the virtual content from a different perspective.

Some warping software/systems warp the source virtual content in two processing passes. Warping systems warp all of the source subparts forming a 3-D scenario in the source virtual content in a first pass. The warping systems also perform depth testing in this first pass to generate depth data, but the depth testing is performed in the source frame of reference. The warping systems store all the warped subparts resulting from the transformation of the source subparts forming the 3-D scenario and their relative depths in the source frame of reference in that first pass (e.g., in a list).

During warping, two or more different subparts of a 3-D scenario may warp/project into (i.e., be assigned to) the same pixel of a final display image. These subparts are “conflicting,” and the warping system must resolve the conflict to generate a realistic 2-D display image.

After the first pass, some of the warped subparts may be conflicting relative to pixels of the final 2-D display image. The warping systems then perform a second pass through the intermediate warping data stored in the first pass to analyze the depth test data of conflicting warped subparts to identify the warped subparts closest to the viewing location in the output frame of reference. The conflicting warped subpart closest to the viewing location in the output frame of reference is used to generate a final 2-D display image. The remaining conflicting warped subparts are discarded. However, this multi-pass system for warping virtual content from a source may be computationally expensive (resulting in processor/memory related system limitations) and time-consuming (resulting in system latency).

SUMMARY

In one embodiment, a computer implemented method for warping virtual content includes generating warped virtual content by transforming source virtual content. The method also includes determining whether a memory location corresponding to an X, Y location of the warped virtual content in an output frame of reference is occupied by pre-existing virtual content. The method further includes storing the warped virtual content in the memory location if the memory location is not occupied by pre-existing virtual content. Moreover, the method includes comparing respective Z locations of the warped virtual content and the pre-existing virtual content to identify virtual content with a Z location closer to a viewing location in the output frame of reference if the memory location is occupied by pre-existing virtual content. In addition, the method includes storing the warped virtual content in the memory location corresponding to the X, Y location if a Z location of the warped virtual content is closer to the viewing location than a pre-existing Z location of the pre-existing virtual content in the output frame of reference.

In one or more embodiments, the also includes discarding the warped virtual content if the pre-existing Z of the pre-existing virtual content is closer to the viewing location that the Z location of the warped virtual content in the output frame of reference. Generating the warped virtual content, determining whether the memory location is occupied, comparing respective Z locations if the memory location is occupied, and storing the warped virtual content in the memory may all occur in one pass.

In one or more embodiments, transforming the virtual content includes generate a pixel map by mapping pixels of an image. Transforming may also include dividing the pixel map into a plurality of primitives. Transforming may further include performing a transformation on one of the plurality of primitives into the output frame of reference. The virtual content may be the one of the plurality of primitives. Each of the plurality of primitives may be a quadrilateral, a triangle, and/or a pixel. The transformation may be a Fourier transformation.

In one or more embodiments, the method also includes generating the source virtual content using a source frame of reference different from the output frame of reference. The virtual content may be transformed from the source frame of reference to the output frame of reference. The respective Z locations may be in the output frame of reference different from a source frame of reference used to generate the virtual content.

In one or more embodiments, the virtual content includes image information and a source X, Y location in a source frame of reference. The image information may include a brightness, a color, and/or a Z location in the source frame of reference. The warped virtual content may include an output X, Y location in the output frame of reference.

In another embodiment, a system for warping virtual content includes an input memory to store source virtual content. The system also includes a command processor to divide the source virtual content into a plurality of scheduling units. The system further includes a scheduler to determining a processing sequence. Moreover, the system includes a GPU core, the GPU core having a plurality of shader cores to process one of the plurality of scheduling units to generate warped virtual content. In addition, the system includes a FIFO memory to store output from the GPU core. The system also includes a ROP to rasterize the warped virtual content for display. The system further includes a buffer memory to temporarily store the warped virtual content. When pre-existing virtual content temporality stored in the buffer memory conflicts with the warped virtual content, the ROP compares respective Z locations of the pre-existing virtual content and the warped virtual content.

In one or more embodiments, the source virtual content includes a source X, Y value in a source frame of reference. The warped virtual content may include an output X, Y value in an output frame of reference.

In still another embodiment, a computer program product is embodied in a non-transitory computer readable medium, the computer readable medium having stored thereon a sequence of instructions which, when executed by a processor causes the processor to execute a method for warping virtual content. The method includes generating warped virtual content by transforming source virtual content. The method also includes determining whether a memory location corresponding to an X, Y location of the warped virtual content in an output frame of reference is occupied by pre-existing virtual content. The method further includes storing the warped virtual content in the memory location if the memory location is not occupied by pre-existing virtual content. Moreover, the method includes comparing respective Z locations of the warped virtual content and the pre-existing virtual content to identify virtual content with a Z location closer to a viewing location in the output frame of reference if the memory location is occupied by pre-existing virtual content. In addition, the method includes storing the warped virtual content in the memory location corresponding to the X, Y location if a Z location of the warped virtual content is closer to the viewing location than a pre-existing Z location of the pre-existing virtual content in the output frame of reference.

In one or more embodiments, the computer programming product is an API.

In yet another embodiment, a system for warping virtual content includes a warping unit to generate warped virtual content. The warping unit includes a pose estimator and a transform unit. The system also includes a compositing unit, including a blending unit. The system further includes a database to temporarily store warped virtual content. When pre-existing virtual content temporality stored in the database conflicts with the warped virtual content, the blending unit of the compositing unit compares respective Z locations of the pre-existing virtual content and the warped virtual content.

Additional and other objects, features, and advantages of the disclosure are described in the detail description, figures and claims.

BRIEF DESCRIPTION OF THE DRAWINGS

The drawings illustrate the design and utility of various embodiments of the present disclosure. It should be noted that the figures are not drawn to scale and that elements of similar structures or functions are represented by like reference numerals throughout the figures. In order to better appreciate how to obtain the above-recited and other advantages and objects of various embodiments of the disclosure, a more detailed description of the present disclosures briefly described above will be rendered by reference to specific embodiments thereof, which are illustrated in the accompanying drawings. Understanding that these drawings depict only typical embodiments of the disclosure and are not therefore to be considered limiting of its scope, the disclosure will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:

FIG. 1 depicts a user's view of augmented reality (AR) through a wearable AR user device, according to some embodiments.

FIGS. 2A-2D schematically depict AR systems and subsystems thereof, according to some embodiments.

FIGS. 3 and 4 illustrate a rendering artifact with rapid head movement, according to some embodiments.

FIGS. 5-8 illustrate various aspects of warping virtual content, according to some embodiments.

FIG. 9 schematically depicts a graphics processing unit (GPU), according to some embodiments.

FIG. 10 depicts a virtual object stored as a primitive, according to some embodiments.

FIG. 11 depicts a method for warping virtual content, according to some embodiments.

FIG. 12 is a block diagram schematically depicting an illustrative computing system, according to some embodiments.

DETAILED DESCRIPTION

Various embodiments of the disclosure are directed to systems, methods, and articles of manufacture for warping virtual content in a single embodiment or in multiple embodiments. Other objects, features, and advantages of the disclosure are described in the detailed description, figures, and claims.

Various embodiments will now be described in detail with reference to the drawings, which are provided as illustrative examples of the disclosure so as to enable those skilled in the art to practice the disclosure. Notably, the figures and the examples below are not meant to limit the scope of the present disclosure. Where certain elements of the present disclosure may be partially or fully implemented using known components (or methods or processes), only those portions of such known components (or methods or processes) that are necessary for an understanding of the present disclosure will be described, and the detailed descriptions of other portions of such known components (or methods or processes) will be omitted so as not to obscure the disclosure. Further, various embodiments encompass present and future known equivalents to the components referred to herein by way of illustration.

The virtual content warping systems may be implemented independently of mixed reality systems, but some embodiments below are described in relation to AR systems for illustrative purposes only. Further, the virtual content warping systems described herein may also be used in an identical manner with VR systems.

Illustrative Mixed Reality Scenario and System

The description that follows pertains to an illustrative augmented reality system with which the warping system may be practiced. However, it is to be understood that the embodiments also lend themselves to applications in other types of display systems (including other types of mixed reality systems), and therefore the embodiments are not to be limited to only the illustrative system disclosed herein.

Mixed reality (e.g., VR or AR) scenarios often include presentation of virtual content (e.g., images and sound) corresponding to virtual objects in relationship to real-world objects. For example, referring to FIG. 1, an augmented reality (AR) scene 100 is depicted wherein a user of AR technology sees a real-world, physical, park-like setting 102 featuring people, trees, buildings in the background, and a real-world, physical concrete platform 104. In addition to these items, the user of the AR technology also perceives that they “see” a virtual robot statue 106 standing upon the physical concrete platform 104, and a virtual cartoon-like avatar character 108 flying by which seems to be a personification of a bumblebee, even though these virtual objects 106, 108 do not exist in the real-world.

Like AR scenarios, VR scenarios also account for the poses used to generate/render the virtual content. Accurately warping the virtual content to the AR/VR display frame of reference and warping the warped virtual content can improve the AR/VR scenarios, or at least not detract from the AR/VR scenarios.

The description that follows pertains to an illustrative AR system with which the disclosure may be practiced. However, it is to be understood that the disclosure also lends itself to applications in other types of augmented reality and virtual reality systems, and therefore the disclosure is not to be limited to only the illustrative system disclosed herein.

FIG. 2A illustrates an augmented reality (AR) system 200, according to some embodiments. The AR system 200 may be operated in conjunction with a projection subsystem 208, providing images of virtual objects intermixed with physical objects in a field of view of a user 250. This approach employs one or more at least partially transparent surfaces through which an ambient environment including the physical objects can be seen and through which the AR system 200 produces images of the virtual objects. The projection subsystem 208 is housed in a control subsystem 201 operatively coupled to a display system/subsystem 204 through a link 207. The link 207 may be a wired or wireless communication link.

For AR applications, it may be desirable to spatially position various virtual objects relative to respective physical objects in the field of view of the user 250. The virtual objects may take any of a large variety of forms, having any variety of data, information, concept, or logical construct capable of being represented as an image. Non-limiting examples of virtual objects may include: a virtual text object, a virtual numeric object, a virtual alphanumeric object, a virtual tag object, a virtual field object, a virtual chart object, a virtual map object, a virtual instrumentation object, or a virtual visual representation of a physical object.

The AR system 200 includes a frame structure 202 worn by the user 250, the display system 204 carried by the frame structure 202, such that the display system 204 is positioned in front of the eyes of the user 250, and a speaker 206 incorporated into or connected to the display system 204. In the illustrated embodiment, the speaker 206 is carried by the frame structure 202, such that the speaker 206 is positioned adjacent (in or around) the ear canal of the user 250 (e.g., an earbud or headphone).

The display system 204 is designed to present the eyes of the user 250 with photo-based radiation patterns that can be comfortably perceived as augmentations to the ambient environment including both two-dimensional and three-dimensional content. The display system 204 presents a sequence of frames at high frequency that provides the perception of a single coherent scene. To this end, the display system 204 includes the projection subsystem 208 and a partially transparent display screen through which the projection subsystem 208 projects images. The display screen is positioned in a field of view of the user's 250 between the eyes of the user 250 and the ambient environment.

In some embodiments, the projection subsystem 208 takes the form of a scan-based projection device and the display screen takes the form of a waveguide-based display into which the scanned light from the projection subsystem 208 is injected to produce, for example, images at single optical viewing distance closer than infinity (e.g., arm's length), images at multiple, discrete optical viewing distances or focal planes, and/or image layers stacked at multiple viewing distances or focal planes to represent volumetric 3D objects. These layers in the light field may be stacked closely enough together to appear continuous to the human visual subsystem (e.g., one layer is within the cone of confusion of an adjacent layer). Additionally or alternatively, picture elements may be blended across two or more layers to increase perceived continuity of transition between layers in the light field, even if those layers are more sparsely stacked (e.g., one layer is outside the cone of confusion of an adjacent layer). The display system 204 may be monocular or binocular. The scanning assembly includes one or more light sources that produce the light beam (e.g., emits light of different colors in defined patterns). The light source may take any of a large variety of forms, for instance, a set of RGB sources (e.g., laser diodes capable of outputting red, green, and blue light) operable to respectively produce red, green, and blue coherent collimated light according to defined pixel patterns specified in respective frames of pixel information or data. Laser light provides high color saturation and is highly energy efficient. The optical coupling subsystem includes an optical waveguide input apparatus, such as for instance, one or more reflective surfaces, diffraction gratings, mirrors, dichroic mirrors, or prisms to optically couple light into the end of the display screen. The optical coupling subsystem further includes a collimation element that collimates light from the optical fiber. Optionally, the optical coupling subsystem includes an optical modulation apparatus configured for converging the light from the collimation element towards a focal point in the center of the optical waveguide input apparatus, thereby allowing the size of the optical waveguide input apparatus to be minimized. Thus, the display system 204 generates a series of synthetic image frames of pixel information that present an undistorted image of one or more virtual objects to the user. Further details describing display subsystems are provided in U.S. Utility patent application Ser. No. 14/212,961, entitled “Display System and Method” (Attorney Docket No. ML.20006.00), and Ser. No. 14/331,218, entitled “Planar Waveguide Apparatus With Diffraction Element(s) and Subsystem Employing Same” (Attorney Docket No. ML.20020.00), the contents of which are hereby expressly and fully incorporated by reference in their entirety, as though set forth in full.

The AR system 200 further includes one or more sensors mounted to the frame structure 202 for detecting the position (including orientation) and movement of the head of the user 250 and/or the eye position and inter-ocular distance of the user 250. Such sensor(s) may include image capture devices, microphones, inertial measurement units (IMUs), accelerometers, compasses, GPS units, radio devices, gyros, and the like. For example, in one embodiment, the AR system 200 includes a head worn transducer subsystem that includes one or more inertial transducers to capture inertial measures indicative of movement of the head of the user 250. Such devices may be used to sense, measure, or collect information about the head movements of the user 250. For instance, these devices may be used to detect/measure movements, speeds, acceleration and/or positions of the head of the user 250. The position (including orientation) of the head of the user 250 is also known as a “head pose” of the user 250.

The AR system 200 of FIG. 2A may include one or more forward facing cameras. The cameras may be employed for any number of purposes, such as recording of images/video from the forward direction of the system 200. In addition, the cameras may be used to capture information about the environment in which the user 250 is located, such as information indicative of distance, orientation, and/or angular position of the user 250 with respect to that environment and specific objects in that environment.

The AR system 200 may further include rearward facing cameras to track angular position (the direction in which the eye or eyes are pointing), blinking, and depth of focus (by detecting eye convergence) of the eyes of the user 250. Such eye tracking information may, for example, be discerned by projecting light at the end user's eyes, and detecting the return or reflection of at least some of that projected light.

The augmented reality system 200 further includes a control subsystem 201 that may take any of a large variety of forms. The control subsystem 201 includes a number of controllers, for instance one or more microcontrollers, microprocessors or central processing units (CPUs), digital signal processors, graphics processing units (GPUs), other integrated circuit controllers, such as application specific integrated circuits (ASICs), programmable gate arrays (PGAs), for instance field PGAs (FPGAs), and/or programmable logic controllers (PLUs). The control subsystem 201 may include a digital signal processor (DSP), a central processing unit (CPU) 251, a graphics processing unit (GPU) 252, and one or more frame buffers 254. The CPU 251 controls overall operation of the system, while the GPU 252 renders frames (i.e., translating a three-dimensional scene into a two-dimensional image) and stores these frames in the frame buffer(s) 254. While not illustrated, one or more additional integrated circuits may control the reading into and/or reading out of frames from the frame buffer(s) 254 and operation of the display system 204. Reading into and/or out of the frame buffer(s) 254 may employ dynamic addressing, for instance, where frames are over-rendered. The control subsystem 201 further includes a read only memory (ROM) and a random access memory (RAM). The control subsystem 201 further includes a three-dimensional database 260 from which the GPU 252 can access three-dimensional data of one or more scenes for rendering frames, as well as synthetic sound data associated with virtual sound sources contained within the three-dimensional scenes.

The control AR augmented reality subsystem 2010 further includes a user orientation detection module 248. The user orientation module 248 detects an the instantaneous position of the head of the user 250 and may predict a the position of the head of the user 250 based on position data received from the sensor(s). The user orientation module 248 also tracks the eyes of the user 250, and in particular the direction and/or distance at which the user 250 is focused based on the tracking data received from the sensor(s).

FIG. 2B depicts an AR system 200′, according to some embodiments. The AR system 200′ depicted in FIG. 2B is similar to the AR system 200 depicted in FIG. 2A and describe above. For instance, AR system 200′ includes a frame structure 202, a display system 204, a speaker 206, and a control subsystem 201′ operatively coupled to the display system 204 through a link 207. The control subsystem 201′ depicted in FIG. 2B is similar to the control subsystem 201 depicted in FIG. 2A and describe above. For instance, control subsystem 201′ includes a projection subsystem 208, an image/video database 271, a user orientation module 248, a CPU 251, a GPU 252, a 3D database 260, ROM and RAM.

The difference between the control subsystem 201′, and thus the AR system 200′, depicted in FIG. 2B from the corresponding system/system component depicted in FIG. 2A, is the presence of block 290 in the control subsystem 201′ depicted in FIG. 2B. The block 290 is a separate warping block that is independent from either the GPU 252 or the CPU 251. As illustrated in FIG. 2C, the block 290 includes a warping unit 280, a database 292, and a compositing unit 294. The compositing unit 294 includes a blending unit 296. As illustrated in FIG. 2D, the warping unit 280 includes a pose estimator 282 and transform unit 284.

The various processing components of the AR systems 200, 200′ may be contained in a distributed subsystem. For example, the AR systems 200, 200′ include a local processing and data module (i.e., the control subsystem 201, 201′) operatively coupled, such as by a wired lead or wireless connectivity 207, to a portion of the display system 204. The local processing and data module may be mounted in a variety of configurations, such as fixedly attached to the frame structure 202, fixedly attached to a helmet or hat, embedded in headphones, removably attached to the torso of the user 250, or removably attached to the hip of the user 250 in a belt-coupling style configuration. The AR systems 200, 200′ may further include a remote processing module and remote data repository operatively coupled, such as by a wired lead or wireless connectivity to the local processing and data module, such that these remote modules are operatively coupled to each other and available as resources to the local processing and data module. The local processing and data module may comprise a power-efficient processor or controller, as well as digital memory, such as flash memory, both of which may be utilized to assist in the processing, caching, and storage of data captured from the sensors and/or acquired and/or processed using the remote processing module and/or remote data repository, possibly for passage to the display system 204 after such processing or retrieval. The remote processing module may comprise one or more relatively powerful processors or controllers configured to analyze and process data and/or image information. The remote data repository may comprise a relatively large-scale digital data storage facility, which may be available through the internet or other networking configuration in a “cloud” resource configuration. In some embodiments, all data is stored and all computation is performed in the local processing and data module, allowing fully autonomous use from any remote modules. The couplings between the various components described above may include one or more wired interfaces or ports for providing wires or optical communications, or one or more wireless interfaces or ports, such as via RF, microwave, and IR for providing wireless communications. In some implementations, all communications may be wired, while in other implementations all communications may be wireless, with the exception of the optical fiber(s).

Summary of Problems and Solutions

When an optical system generates/renders virtual content, it may use a source frame of reference that may be related to a pose of the system when the virtual content is rendered. In AR systems, the rendered virtual content may have a predefined relationship with a real physical object. For instance, FIG. 3 illustrates an AR scenario 300 including a virtual flower pot 310 positioned on top of a real physical pedestal 312. An AR system rendered the virtual flower pot 310 based on a source frame of references in which the location of the real pedestal 312 is known such that the virtual flower pot 310 appears to be resting on top of the real pedestal 312. The AR system may, at a first time, render the virtual flower pot 310 using a source frame of reference, and, at a second time after the first time, display/projected the rendered virtual flower pot 310 at an output frame of reference. If the source frame of reference and the output frame of reference are the same, the virtual flower pot 310 will appear where it was intended to be (e.g., on top of the real physical pedestal 312).

However, if the AR system's frame of reference changes (e.g., with rapid user head movement) in a gap between the first time at which the virtual flower pot 310 is rendered and the second time at which the rendered virtual flower pot 310 is displayed/projected, the mismatch/difference between the source frame of reference and the output frame of reference may result in visual artifacts/anomalies/glitches. For instance, FIG. 4 shows an AR scenario 400 including a virtual flower pot 410 that was rendered to be positioned on top of a real physical pedestal 412. However, because the AR system was (rapidly) moved to the right after the virtual flower pot 410 was rendered but before it was displayed/projected, the virtual flower pot 410 is displayed to the right of its intended position 410′ (shown in phantom). As such, the virtual flower pot 410 appears to be floating in midair to the right of the real physical pedestal 412. This artifact will be remedied when the virtual flower pot is re-rendered in the output frame of reference (assuming that the AR system motion ceases). However, the artifact will still be visible to some users with the virtual flower pot 410 appearing to glitch by temporarily jumping to an unexpected position. This glitch and others like it can have a deleterious effect on the illusion of continuity of an AR scenario.

Some optical systems may include a warping system that warps or transforms the frame of reference of source virtual content from the source frame of reference in which the virtual content was generated to the output frame of reference in which the virtual content will be displayed. In the example depicted in FIG. 4, the AR system can detect and/or predict (e.g., using IMUs or eye tracking) the output frame of reference and/or pose. The AR system can then warp or transform the rendered virtual content from the source frame of reference into warped virtual content in the output frame of reference.

Some warping software/systems warp the source virtual content in two processing passes. Referring the example in FIGS. 5-7, an AR system warps all source subparts forming a 3-D scenario (e.g., primitives forming a chess piece 510 and a cube 512) in source virtual content in a first pass. The first pass forms warped virtual content (e.g., a warped chess piece 510′ and a warped cube 512′). The chess piece 510 and the cube 512 are shown in phantom in FIGS. 5-7 to indicate that they are in the source frame of reference, and will not be displayed. Instead, the warped chess piece 510′ and the warped cube 512′ (shown in solid lines) in the output frame of reference will be displayed. Some warping systems also depth test all the subparts (e.g., each primitive forming the warped chess piece 510′ and the warped cube 512′) in the first pass to generate depth data. After depth testing, the AR system stores all the warped subparts (e.g., primitives) and their relative depths in the source frame of reference in the first pass (e.g., in a list). At the end of the first pass, warped virtual content may be stored as a list of all brightnesses/colors at each X, Y position (e.g., pixel) in the output virtual content, including all instances of conflicting warped virtual data.

The warping systems then resolves all conflicting virtual data at each X, Y position of the stored warped subparts and relative depths (e.g., the list) in a second pass. When two or more different subparts of a 3-D scenario (e.g., the chess piece 510 and the cube 512) are warped into an output frame of reference (e.g., the warped chess piece 510′ and the warped cube 512′), portions of these subparts may warp/project into (i.e., be assigned to) a same pixel of a final display image. For instance, area 514 in FIG. 6 represents “conflicting” portions of the warped chess piece 510′ and the warped cube 512′ . The warping system resolves/reconciles these conflicting portions of the warped virtual content when generating output virtual content.

In some embodiments, if respective pixels of the warped chess piece 510′ and the warped cube 512′ (e.g., first and second virtual content) would be displayed on the same pixel of the display (i.e., colliding pixels), the warping system can compare the stored depth data corresponding to the respective colliding/conflicting pixel. The colliding pixel (e.g., warped virtual content) closer to a viewing location in the output frame of reference is displayed (assuming that the content is opaque). The colliding pixel closest to the viewing location in the output frame of reference is used to generate a final display image. The remaining colliding pixels are discarded.

In one instance shown in FIG. 7, the warped chess piece 510′ is closer to the user than the warped cube 512′. As such, when pixels of the warped chess piece 510′ and the warped cube 512′ collide, the pixels of the warped chess piece 510′ are displayed in the output content. In another instance shown in FIG. 8, the warped cube 512′ is closer to the user than the warped chess piece 510′. As such, when pixels of the warped chess piece 510′ and the warped cube 512′ collide, the pixels of the warped cube 512′ are displayed in the output content. Because some warping systems generate depth data in the source frame of reference, the depth comparison in the second pass involves multiple transformations and is more complicated than a direct comparison.

This two-pass system warps virtual content and resolves colliding/conflicting warped virtual content for display (e.g., in a realistic AR scenario). However, this two-pass warping system is computationally expensive (resulting in processor/memory related system limitations) and time-consuming (resulting in system latency). The computational expense and time required increases with the complexity of the 3-D scenario that must be warped for display. The increased time requirements of current warping software/systems with increasing scenario complexity may not be compatible with real-time systems such as some mixed reality systems. Further, the increased computational expense of some warping software/systems with increasing scenario complexity may manifest in size, power, heat and other processing related limitations that may not be compatible with portable systems such as some mixed reality systems.

In order to address these limitations, the systems described herein warp virtual content and reconcile conflicting virtual content in a single pass. The virtual content is warped based on the source frame of reference to the display frame of reference. Reconciling conflicting warped virtual content includes depth testing of all warped virtual content in a particular pixel of output virtual content for display. Unlike some warping systems, the depth testing according to embodiments herein take place in the output frame of reference.

Illustrative Graphics Processing Unit

FIG. 9 schematically depicts an exemplary graphics processing unit (GPU) 252 to warp virtual content to an output frame of reference and to reconcile conflicting portions of the warped virtual content, according to some embodiments. The GPU 252 includes an input memory 910 to store the generated virtual content to be warped. In some embodiments, the virtual content is stored as a primitive (e.g., a triangle 1000 in FIG. 10). The GPU 252 also includes a command processor 912, which (1) receives/reads the virtual content from the input memory 910, (2) divides the virtual content into scheduling units, and (3) sends the scheduling units along the rendering pipeline in waves or warps for parallel processing. The GPU 252 further includes a scheduler 914 to (1) receive the scheduling units from the command processor 912, and (2) determine whether the “new work” from the command processor 912 or “old work” returning from downstream in the rendering pipeline (described below) should be sent down the rendering pipeline at any particular time. In effect, the scheduler 914 determines the sequence in which the GPU 252 processes various input data.

The GPU 252 includes one or more GPU cores 916, where each GPU core 916 has a number of parallel executable cores/units (“shader cores”) 918 for processing the scheduling units in parallel. The command processor 912 divides the virtual content into a number equal to the number of shader cores 918 (e.g., 32). The GPU 252 also includes a “First In First Out” (“FIFO”) memory 920 to receive output from the GPU core 916. From the FIFO memory 920, the output may be routed back to the scheduler 914 as “old work” for insertion into the rendering pipeline additional processing by the GPU core 916.

The GPU 252 further includes a Raster Operations Unit (“ROP”) 922 that receives output from the FIFO memory 920 and rasterizes the output for display. For instance, primitives of virtual content may be stored as the coordinates of vertices of triangles. After processing by the GPU core 916 (during which the three vertices 1010, 1012, 1014 of the triangle 1000 of FIG. 10 may be warped), the ROP 922 determines which pixels 1016 are inside of the triangle 1000 defined by three vertices 1010, 1012, 1014 and fills in those pixels 1016 in the virtual content. The ROP 922 may also perform depth testing on the virtual content.

The GPU 252 also includes a buffer memory 924 for temporarily storing warped virtual content from the ROP 922. The warped virtual content in the buffer memory 924 may include brightness/color and depth information at a plurality of X, Y positions in a field of view in an output frame of reference. The output from the buffer memory 924 may be routed back to the scheduler 914 as “old work” for insertion into the rendering pipeline additional processing by the GPU core 916, or for display in the corresponding pixels of a display system. The GPU cores 916 first processes the vertices 1010, 1012, 1014 of the triangles 1000, then it processes the pixels 1016 inside of the triangles 1000. When all the fragments of virtual content in the input memory 910 have been warped and depth tested (if necessary), the buffer memory 924 will include all of the brightness/color and depth information needed to display a field of view in an output frame of reference.

Virtual Content Warping Systems and Methods

In image processing without head pose changes, the results of the processing by the GPU 252 are color/brightness values and depth values at respective X, Y values (e.g., at each pixel). However with head pose changes, different portions of virtual content viewed from a viewing location in an output frame of reference different from a source frame of reference in which the virtual content was generated may overlap at a pixel. In some methods for warping virtual content and resolving conflicting virtual content, all virtual content that may occupy each X, Y position in the output virtual content is warped (from the source frame of reference) and stored (e.g., in a list). The stored virtual content includes color/brightness and depth information. Then the depths of any conflicting virtual content are compared to each other to determine the virtual content closest to the viewing location in the output frame of reference, which is used in the output virtual content. As described above, this multi-pass warping process may be computationally expensive and slow, making it difficult to use with portable display systems, such as mixed reality systems.

FIG. 11 depicts a method 1100 for warping virtual content and resolving conflicting virtual content in a single pass, according to some embodiments. At step 1102, a warping system (e.g., a GPU core 916 of a GPU 252 and/or a pose estimator 282 and transform unit 284 of a warping unit 280 of block 290) generates warped virtual content (having X′, Y′, and Z′ locations in an output frame of reference) from source virtual content (having X, Y, and Z locations in a source frame of reference). The warped virtual content may be a warped primitive represented by information including color/brightness, X′, Y′, and Z′ locations in the output frame of reference. The X′, Y′, and Z′ values are calculated relative to a viewing location in the output frame of reference. In some embodiments, the warped virtual content may correspond to a portion of a chess piece 510′ as shown in FIGS. 5-8.

At step 1104, the warping system (e.g., a ROP 922 of a GPU 252 and/or a com positing unit 294 and blending unit 296 of block 290) determines whether the X′, Y′ location of the buffer memory 924 and/or database 292 corresponding to the X′, Y′ location of the warped virtual content is occupied by pre-existing virtual content that was stored in the buffer memory 924 and/or database 292 before the current warped virtual content was generated. For instance, a portion 514′ of the warped virtual content 510′, 512′ in FIGS. 6-8 contains conflicting warped virtual content. If the X′, Y′ location of the buffer memory 924 and/or database 292 is occupied by pre-existing virtual content, the method 1100 proceeds to steps 1106/1106′.

If the X′, Y′ location of the buffer memory 924 and/or database 292 is determined to be not occupied in step 1104, the warping system (e.g., the ROP 922 of a GPU 252 and/or a compositing unit 294 and blending unit 296 of block 290) writes the warped virtual content (including brightness/color and Z′ information) in the X′, Y′ location of the buffer memory 924 and/or database 292 in step 1108. The method 1100 then proceeds to step 1112.

At step 1112, the warping system determines whether all warped virtual content has been generated. If all warped virtual content has been generated, the method 1100 is ended and the warped virtual content stored in the buffer memory 924 and/or database 292 can be displayed. If all warped virtual content has not been generated, the method 1100 returns to step 1102 to generate more warped virtual content.

At steps 1106/1106′, the warping system (e.g., the ROP 922 of a GPU 252 and/or a compositing unit 294 and blending unit 296 of block 290) compares the Z′ (e.g., depth) information of the warped virtual content and the pre-existing virtual content in the X′, Y′ location of the buffer memory 924 and/or database 292 to determine which virtual content is closer to a viewing location in the output frame of reference. Because the Z′ information is in the output frame of reference, the comparison is straightforward. If the warping system determines that the pre-existing virtual content is closer to the viewing location than the warped virtual content, the method 1100 proceeds to step 1110.

At step 1110, the warping system (e.g., the ROP 922 of a GPU 252 and/or a compositing unit 294 and blending unit 296 of block 290) optionally discards the warped virtual content, which will not be visible from the viewing location because it will be obstructed by the closer pre-existing virtual content (assuming that the pre-existing virtual content is opaque).

At step 1112, the warping system (e.g., the ROP 922 of a GPU 252 and/or a com positing unit 294 and blending unit 296 of block 290) determines whether all warped virtual content has been generated. If all warped virtual content has been generated, the method 1100 is ended and the warped virtual content stored in the buffer memory 924 can be displayed. If all warped virtual content has not been generated, the method 1100 returns to step 1102 to generate more warped virtual content.

If the warping system (e.g., the ROP 922 of a GPU 252 and/or a compositing unit 294 and blending unit 296 of block 290) determines that the warped virtual content is closer to the viewing location than the pre-existing virtual content, the warping system (e.g., the ROP 922 of a GPU 252 and/or a compositing unit 294 and blending unit 296 of block 290) writes the warped virtual content (including brightness/color and Z′ information) in the X′, Y′ location of the buffer memory 924 and/or database 292 in step 1108. In writing the warped virtual content in the X′, Y′ location, the pre-existing virtual content previously stored in the X′, Y′ location will be discarded. The method 1100 then proceeds to step 1112.

At step 1112, the warping system (e.g., the ROP 922 of a GPU 252 and/or a com positing unit 294 and blending unit 296 of block 290) determines whether all warped virtual content has been generated. If all warped virtual content has been generated, the method 1100 is ended and the warped virtual content stored in the buffer memory 924 can be displayed. If all warped virtual content has not been generated, the method 1100 returns to step 1102 to generate more warped virtual content.

Warping virtual content and resolving conflicting warped virtual content in a single pass reduces the processor burden and the time required to warp virtual content to form output content for display. The method 1100 depicted in FIG. 11 may be embodied as a “shader extension” or an Application Program Interface (“API”) executed on a GPU 252. As described above, the method 1100 depicted in FIG. 11 may also be executed on a separate warping block 290 that is independent from either any GPU 252 or CPU 251. In still another embodiment, the method 1100 depicted in FIG. 11 may be executed on a CPU 251. In yet other embodiments, the method 1100 depicted in FIG. 11 may be executed on various combinations/sub-combinations of GPU 252, CPU 251, and separate warping block 290. The method 1100 depicted in FIG. 11 is an image processing pipeline that can be executed using various execution models according to system resource availability at a particular time.

The chess piece 510 and the cube 512 are shown in phantom in FIGS. 5-8 to indicate that the chess piece 510 and the cube 512 as generated in the source frame of reference and not in the display frame of reference. Only after the warping system has warped the chess piece 510 and the cube 512 are the warped chess piece 510′ and the warped cube 512′ shown in solid lines.

System Architecture Overview

FIG. 12 is a block diagram of an illustrative computing system 1200 suitable for implementing an embodiment of the present disclosure. Computer system 1200 includes a bus 1206 or other communication mechanism for communicating information, which interconnects subsystems and devices, such as processor 1207, system memory 1208 (e.g., RAM), static storage device 1209 (e.g., ROM), disk drive 1210 (e.g., magnetic or optical), communication interface 1214 (e.g., modem or Ethernet card), display 1211 (e.g., CRT or LCD), input device 1212 (e.g., keyboard), and cursor control.

According to one embodiment of the disclosure, computer system 1200 performs specific operations by processor 1207 executing one or more sequences of one or more instructions contained in system memory 1208. Such instructions may be read into system memory 1208 from another computer readable/usable medium, such as static storage device 1209 or disk drive 1210. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the disclosure. Thus, embodiments of the disclosure are not limited to any specific combination of hardware circuitry and/or software. In one embodiment, the term “logic” shall mean any combination of software or hardware that is used to implement all or part of the disclosure.

The term “computer readable medium” or “computer usable medium” as used herein refers to any medium that participates in providing instructions to processor 1207 for execution. Such a medium may take many forms, including but not limited to, non-volatile media and volatile media. Non-volatile media includes, for example, optical or magnetic disks, such as disk drive 1210. Volatile media includes dynamic memory, such as system memory 1208.

Common forms of computer readable media includes, for example, floppy disk, flexible disk, hard disk, magnetic tape, any other magnetic medium, CD-ROM, any other optical medium, punch cards, paper tape, any other physical medium with patterns of holes, RAM, PROM, EPROM, FLASH-EPROM (e.g., NAND flash, NOR flash), any other memory chip or cartridge, or any other medium from which a computer can read.

In an embodiment of the disclosure, execution of the sequences of instructions to practice the disclosure is performed by a single computer system 1200. According to other embodiments of the disclosure, two or more computer systems 1200 coupled by communication link 1215 (e.g., LAN, PTSN, or wireless network) may perform the sequence of instructions required to practice the disclosure in coordination with one another.

Computer system 1200 may transmit and receive messages, data, and instructions, including program, i.e., application code, through communication link 1215 and communication interface 1214. Received program code may be executed by processor 1207 as it is received, and/or stored in disk drive 1210, or other non-volatile storage for later execution. Database 1232 in storage medium 1231 may be used to store data accessible by system 1200 via data interface 1233.

The disclosure includes methods that may be performed using the subject devices. The methods may comprise the act of providing such a suitable device. Such provision may be performed by the user. In other words, the “providing” act merely requires the user obtain, access, approach, position, set-up, activate, power-up or otherwise act to provide the requisite device in the subject method. Methods recited herein may be carried out in any order of the recited events which is logically possible, as well as in the recited order of events.

Exemplary aspects of the disclosure, together with details regarding material selection and manufacture have been set forth above. As for other details of the present disclosure, these may be appreciated in connection with the above-referenced patents and publications as well as generally known or appreciated by those with skill in the art. The same may hold true with respect to method-based aspects of the disclosure in terms of additional acts as commonly or logically employed.

In addition, though the disclosure has been described in reference to several examples optionally incorporating various features, the disclosure is not to be limited to that which is described or indicated as contemplated with respect to each variation of the disclosure. Various changes may be made to the disclosure described and equivalents (whether recited herein or not included for the sake of some brevity) may be substituted without departing from the true spirit and scope of the disclosure. In addition, where a range of values is provided, it is understood that every intervening value, between the upper and lower limit of that range and any other stated or intervening value in that stated range, is encompassed within the disclosure.

Also, it is contemplated that any optional feature of the inventive variations described may be set forth and claimed independently, or in combination with any one or more of the features described herein. Reference to a singular item, includes the possibility that there are plural of the same items present. More specifically, as used herein and in claims associated hereto, the singular forms “a,” “an,” “said,” and “the” include plural referents unless the specifically stated otherwise. In other words, use of the articles allow for “at least one” of the subject item in the description above as well as claims associated with this disclosure. It is further noted that such claims may be drafted to exclude any optional element. As such, this statement is intended to serve as antecedent basis for use of such exclusive terminology as “solely,” “only” and the like in connection with the recitation of claim elements, or use of a “negative” limitation.

Without the use of such exclusive terminology, the term “comprising” in claims associated with this disclosure shall allow for the inclusion of any additional element—irrespective of whether a given number of elements are enumerated in such claims, or the addition of a feature could be regarded as transforming the nature of an element set forth in such claims. Except as specifically defined herein, all technical and scientific terms used herein are to be given as broad a commonly understood meaning as possible while maintaining claim validity.

The breadth of the present disclosure is not to be limited to the examples provided and/or the subject specification, but rather only by the scope of claim language associated with this disclosure.

In the foregoing specification, the disclosure has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the disclosure. For example, the above-described process flows are described with reference to a particular ordering of process actions. However, the ordering of many of the described process actions may be changed without affecting the scope or operation of the disclosure. The specification and drawings are, accordingly, to be regarded in an illustrative rather than restrictive sense. 

1. A computer implemented method for warping virtual content: generating warped virtual content; determining whether a memory location corresponding to an X, Y location of the warped virtual content in an output frame of reference is occupied by pre-existing virtual content; comparing respective Z locations of the warped virtual content and the pre-existing virtual content to identify virtual content with a Z location closer to a viewing location in the output frame of reference if the memory location is occupied by the pre-existing virtual content; and storing the warped virtual content in the memory location corresponding to the X, Y location if a Z location of the warped virtual content is closer to the viewing location than a pre-existing Z location of the pre-existing virtual content in the output frame of reference, wherein generating the warped virtual content, determining whether the memory location is occupied, comparing the respective Z locations of the warped virtual content and the pre-existing virtual content if the memory location is occupied, and storing the warped virtual content in the memory location all occur in a single pass.
 2. The method of claim 1, further comprising discarding the warped virtual content if the pre-existing Z location of the pre-existing virtual content is closer to the viewing location than the Z location of the warped virtual content in the output frame of reference.
 3. The method of claim 1, wherein the warped virtual content is a quadrilateral.
 4. The method of claim 1, wherein the warped virtual content is a triangle.
 5. The method of claim 1, wherein the warped virtual content is a pixel.
 6. The method of claim 1, wherein the warped virtual content is generated from source virtual content, the method further comprising generating the source virtual content using a source frame of reference different from the output frame of reference.
 7. The method of claim 6, wherein the source virtual content is transformed from the source frame of reference to the output frame of reference.
 8. The method of claim 7, wherein the respective Z locations of the warped virtual content and the pre-existing virtual content in the output frame of reference are different from corresponding Z locations of the warped virtual content and the pre-existing virtual content in the source frame of reference.
 9. The method of claim 6, wherein the source virtual content comprises image information and a source X, Y location in the source frame of reference.
 10. The method of claim 9, wherein the image information comprises a brightness.
 11. The method of claim 9, wherein the image information comprises a color.
 12. The method of claim 9, wherein the image information comprises a Z location in the source frame of reference.
 13. The system of claim 9, wherein the warped virtual content comprises an output X, Y location in the output frame of reference.
 14. A system for warping virtual content, comprising: a graphics processing unit (GPU) core to generate warped virtual content; a raster operations processor (ROP) to rasterize the warped virtual content for display; and a buffer memory to temporarily store the warped virtual content, wherein when pre-existing virtual content temporarily stored in the buffer memory conflicts with the warped virtual content, the ROP compares respective Z locations of the pre-existing virtual content and the warped virtual content and writes the warped virtual content in the buffer memory when a Z location of the warped virtual content is closer to a viewing location than a pre-existing Z location of the pre-existing virtual content, and wherein the following occur in a single pass: the GPU generates the warped virtual content, the ROP determines whether the pre-existing virtual content conflicts with the warped virtual content, the ROP compares the respective Z locations of the pre-existing virtual content and the warped virtual content if the pre-existing virtual content conflicts with the warped virtual content, and the ROP writes the warped virtual content in the buffer memory when the Z location of the warped virtual content is closer to the viewing location than the pre-existing Z location of the pre-existing virtual content.
 15. The system of claim 14, wherein GPU generate the warped virtual content from source virtual content, and wherein the source virtual content comprises a source X, Y value in a source frame of reference.
 16. The system of claim 15, wherein the warped virtual content comprises an output X, Y value in an output frame of reference.
 17. The system of claim 16, wherein the respective Z locations of the warped virtual content and the pre-existing virtual content in the output frame of reference are different from corresponding Z locations of the warped virtual content and the pre-existing virtual content in the source frame of reference.
 18. The system of claim 15, wherein the source virtual content comprises image information and a source X, Y location in the source frame of reference.
 19. The system of claim 18, wherein the image information comprises, a brightness, a color, or a Z location in the source frame of reference.
 20. A computer program product embodied in a non-transitory computer readable medium, the non-transitory computer readable medium having stored thereon a sequence of instructions which, when executed by a processor causes the processor to execute a method for warping virtual content, the method comprising: generating warped virtual content; determining whether a memory location corresponding to an X, Y location of the warped virtual content in an output frame of reference is occupied by pre-existing virtual content; comparing respective Z locations of the warped virtual content and the pre-existing virtual content to identify virtual content with a Z location closer to a viewing location in the output frame of reference if the memory location is occupied by the pre-existing virtual content; and storing the warped virtual content in the memory location corresponding to the X, Y location if a Z location of the warped virtual content is closer to the viewing location than a pre-existing Z location of the pre-existing virtual content in the output frame of reference, wherein generating the warped virtual content, determining whether the memory location is occupied, comparing the respective Z locations of the warped virtual content and the pre-existing virtual content if the memory location is occupied, and storing the warped virtual content in the memory location all occur in a single pass. 